package com.jml.controller;

import com.jml.vo.Member;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation;
import java.util.Date;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class LogChangeController {

	private Logger log=LoggerFactory.getLogger(LogChangeController.class);

	@RequestMapping(value = "/testLog")
	public Object add() {
		//默认是都输出
		log.info("info的日志输出");
		log.error("error的日志输出");
		return true;
	}



	
}
